package model;

import java.util.Date;

public class Card {

	private long cradNo;
	private String type;
	private int year;
	private int num;
	private Date startTime;
	private Date endTime;
	
	public Card() {
		
	}
	
	public Card(long cradNo, String type, int year, int num, Date startTime,
			Date endTime) {
		super();
		this.cradNo = cradNo;
		this.type = type;
		this.year = year;
		this.num = num;
		this.startTime = startTime;
		this.endTime = endTime;
	}
	public long getCradNo() {
		return cradNo;
	}
	public void setCradNo(long cradNo) {
		this.cradNo = cradNo;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
}
